import axiosInstance from "../api";

type IAuthParam = {
    password: string;
    username: string;
};

// 歌曲列表 分页模糊查询
export function login(data: IAuthParam) {
    return axiosInstance({
        method: "post",
        data: data,
        url: "/auth/login",
        headers: {
            "Content-Type": "application/json",
        },
    });
}
